<!DOCTYPE html>
<html>
<head>
  <meta charset="UTF-8">
  <style>
    /* 新增表格样式 */
    .request-table {
      width: 100%;
      border-collapse: collapse;
      margin: 15px 0;
    }
    .request-table th, .request-table td {
      border: 1px solid #ddd;
      padding: 8px;
      text-align: left;
    }
    .json-view {
      max-height: 150px;
      overflow: auto;
      background: #f5f5f5;
      padding: 5px;
    }

    #token {
      width: 100%;
      height: 60px;
      margin: 10px 0;
      word-wrap: break-word;
      overflow-y: auto;
      border: 1px solid #ddd;
      padding: 5px;
    }
    button {
      background: #4CAF50;
      color: white;
      border: none;
      padding: 10px 20px;
      cursor: pointer;
      width: 100%;
    }
    button:hover {
      background: #45a049;
    }
  </style>
</head>
<body>
<h3>Captured Token:</h3>
<div id="token">No token captured yet</div>
<button id="copyBtn">Copy Token</button>

<h3>网络请求监控 (最近50条)</h3>
<table class="request-table">
  <thead>
  <tr>
    <th>方法</th>
    <th>type</th>
    <th>URL</th>
    <th>状态</th>
    <th>响应体</th>
  </tr>
  </thead>
  <tbody id="requestsBody">
  </tbody>
</table>
<script src="panel.js"></script>
</body>
</html>